.cart {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cart h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

.cart-items {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 20px;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.specs {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.services,
.accessories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.service-tag,
.accessory-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.item-price {
    width: 100px;
    text-align: center;
    color: #e4393c;
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 20px;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
}

.quantity-controls button:hover:not(:disabled) {
    border-color: #e4393c;
    color: #e4393c;
}

.quantity-controls button:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.quantity-controls span {
    min-width: 30px;
    text-align: center;
}

.item-total {
    width: 120px;
    text-align: right;
    color: #e4393c;
    font-weight: bold;
    margin: 0 20px;
}

.delete-btn {
    padding: 8px 16px;
    background: #fff1f1;
    color: #e4393c;
    border: 1px solid #e4393c;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.delete-btn:hover {
    background: #ffe4e4;
}

.cart-summary {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.total {
    font-size: 20px;
    font-weight: bold;
    color: #e4393c;
}

.checkout-btn {
    padding: 12px 40px;
    background: #e4393c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: #c1272d;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cart-empty h2 {
    color: #666;
    margin-bottom: 20px;
}

.cart-empty button {
    padding: 10px 30px;
    background: #e4393c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-empty button:hover {
    background: #c1272d;
}